import React from "react";

export default function Button({
  children,
  className = "",
  onClick,
}: {
  children: React.ReactNode;
  className?: string;
  onClick?: (e: React.MouseEvent<HTMLButtonElement, MouseEvent>) => void;
}) {
  return (
    <button
      onClick={onClick}
      className={`px-2 py-1.5 bg-blue-600 text-white rounded ${className}`}
    >
      {children}
    </button>
  );
}
